package com.hujifang.elasticsearch.model;

import java.io.Serializable;

/**
 * 高亮域
 * Created by HuJiFang on 2015/8/17.
 */
public class EsHighlightField implements Serializable{
    private static final long serialVersionUID = -3159945421847372583L;
    private String name;
    private String[] fragments;
    private Integer fragmentsSize;
    private Integer numberOfFragments=1;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String[] getFragments() {
        return fragments;
    }

    public void setFragments(String[] fragments) {
        this.fragments = fragments;
    }

    public Integer getFragmentsSize() {
        return fragmentsSize;
    }

    public void setFragmentsSize(Integer fragmentsSize) {
        this.fragmentsSize = fragmentsSize;
    }

    public Integer getNumberOfFragments() {
        return numberOfFragments;
    }

    public void setNumberOfFragments(Integer numberOfFragments) {
        this.numberOfFragments = numberOfFragments;
    }
}
